package com.yzf.wisecoder.wisecodercommon.vo.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author jianghuiyong
 * @email jianghuiyong@yunzhangfang.com
 * @date 2020-05-12 20:05:20
 */
@Data
@Accessors(chain = true)
public class ViewDatasourceResp implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	private Long sourceId;
	/**
	 * 数据源ID
	 */
	@ApiModelProperty(value = "数据库ID")
	private Long dbId;
	/**
	 * 项目ID
	 */
	@ApiModelProperty(value = "项目ID")
	private Long projectId;
	/**
	 * 组件ID
	 */
	@ApiModelProperty(value = "组件ID")
	private String moduleId;
	/**
	 * 大屏展示ID
	 */
	@ApiModelProperty(value = "大屏展示ID")
	private Long viewId;
	/**
	 * 数据源类型
	 */
	@ApiModelProperty(value = "数据源类型")
	private Integer sourceType;
	/**
	 * 数据源执行内容
	 */
	@ApiModelProperty(value = "数据源执行内容")
	private String executeText;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

}
